'use strict';

module.exports = app => {
    const { INTEGER,DATE } = app.Sequelize;
    const clientFileModel = app.model.define('clientFileModel',{
        id: {type: INTEGER, primaryKey: true, autoIncrement: true},
        file_id:INTEGER,
        valid:INTEGER,
        created_at:DATE,
    },{
        timestamps: false,
        tableName: 'client_files',
    })

    return clientFileModel;
}